package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-12-12
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    void saveRelationMeal(@Param("mealId") Long mealId,
                          @Param("id") Long id,
                          @Param("date") Date date);

    Tenant selectTenantByName(@Param("companyName") String companyName);
}
